package com.sugar.queryinfo.module.business.controller.admin.dataquery.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.sugar.queryinfo.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.sugar.queryinfo.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 数据查询分页 Request VO")
@Data
public class DataQueryPageReqVO extends PageParam {

    @Schema(description = "用户ID", example = "30790")
    private Long userId;

    @Schema(description = "部门ID", example = "28219")
    private Long deptId;

    @Schema(description = "查询姓名", example = "芋艿")
    private String queryName;

    @Schema(description = "查询证件号")
    private String queryIdCard;

    @Schema(description = "查询手机号")
    private String queryMobile;

    @Schema(description = "查询时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] queryTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;
}